package org.gap.dao;

import java.util.Calendar;
import java.util.Set;

import org.gap.domain.PersistentLogins;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage PersistentLogins entities.
 * 
 */
public interface PersistentLoginsDAO extends JpaDao<PersistentLogins> {

	/**
	 * JPQL Query - findPersistentLoginsBySeries
	 *
	 */
	public PersistentLogins findPersistentLoginsBySeries(String series) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsBySeries
	 *
	 */
	public PersistentLogins findPersistentLoginsBySeries(String series, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByTokenContaining
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByTokenContaining(String token) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByTokenContaining
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByTokenContaining(String token, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllPersistentLoginss
	 *
	 */
	public Set<PersistentLogins> findAllPersistentLoginss() throws DataAccessException;

	/**
	 * JPQL Query - findAllPersistentLoginss
	 *
	 */
	public Set<PersistentLogins> findAllPersistentLoginss(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsBySeriesContaining
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsBySeriesContaining(String series_1) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsBySeriesContaining
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsBySeriesContaining(String series_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByToken
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByToken(String token_1) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByToken
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByToken(String token_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByUsernameContaining
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByUsernameContaining(String username) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByUsernameContaining
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByUsernameContaining(String username, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByLastUsed
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByLastUsed(java.util.Calendar lastUsed) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByLastUsed
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByLastUsed(Calendar lastUsed, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByUsername
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByUsername(String username_1) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByUsername
	 *
	 */
	public Set<PersistentLogins> findPersistentLoginsByUsername(String username_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByPrimaryKey
	 *
	 */
	public PersistentLogins findPersistentLoginsByPrimaryKey(String series_2) throws DataAccessException;

	/**
	 * JPQL Query - findPersistentLoginsByPrimaryKey
	 *
	 */
	public PersistentLogins findPersistentLoginsByPrimaryKey(String series_2, int startResult, int maxRows) throws DataAccessException;

}